
public class HeartAdaptor implements BeatModelInterface{
	HeartModelInterface heart;
	
	public HeartAdaptor( HeartModelInterface heart ){
		this.heart = heart;
	}
	
	public void initialize(){
		;
	}
	public void on(){
		;
	}
	public void off(){
		;
	}
	public void setBPM(int bpm){
		;
	}
	public int getBPM(){
		return this.heart.getHeartRate();
	}
	
	public void registerObserver( BPMObserver aObject ){
		heart.registerObserver(aObject);
	}
	public void registerObserver( BeatObserver aObject ){
		heart.registerObserver(aObject);
	}
}
